package org.kfive.nova.design.behavior.Command;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 15-7-8
 * Time: 下午10:21
 * To change this template use File | Settings | File Templates.
 */
public class LightOffCommand implements ICommand {

    private Light light;

    public LightOffCommand(Light light){
        this.light = light;
    }

    @Override
    public void execute() {
        //To change body of implemented methods use File | Settings | File Templates.
        this.light.off();
    }
}
